// *Author：jxx
// *Contact：283591387@qq.com
// *代码由框架生成,任何更改都可能导致被代码生成器覆盖
export default function(){
    const table = {
        key: 'Id',
        footer: "Foots",
        cnName: '工艺路线',
        name: 'Operational',
        url: "/Operational/",
        sortName: "Id"
    };
    const tableName = table.name;
    const tableCNName = table.cnName;
    const newTabEdit = false;
    const key = table.key;
    const editFormFields = {"Routing":"","ProcessDescription":"","ProcessTiming":""};
    const editFormOptions = [[{"title":"工艺路线名称","required":true,"field":"Routing","type":"text"}],
                              [{"title":"流程描述","required":true,"field":"ProcessDescription","type":"textarea"}],
                              [{"title":"流程时序","required":true,"field":"ProcessTiming","type":"textarea"}]];
    const searchFormFields = {"Routing":""};
    const searchFormOptions = [[{"title":"工艺路线名称","field":"Routing","type":"like"}]];
    const columns = [{field:'Id',title:'主键id',type:'int',width:110,hidden:true,readonly:true,require:true,align:'left'},
                       {field:'Routing',title:'工艺路线名称',type:'string',width:110,require:true,align:'left'},
                       {field:'ProcessDescription',title:'流程描述',type:'string',width:110,require:true,align:'left'},
                       {field:'ProcessTiming',title:'流程时序',type:'string',width:120,require:true,align:'left'}];
    const detail ={columns:[]};
    const details = [];

    return {
        table,
        key,
        tableName,
        tableCNName,
        newTabEdit,
        editFormFields,
        editFormOptions,
        searchFormFields,
        searchFormOptions,
        columns,
        detail,
        details
    };
}